home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
s
/
saucencodeissue3.dms
/
saucencodeissue3.adf
/
Source_Code
/
Wobbler.asc
< prev
Wrap
Text File
|
1996-01-21
|
634b
|
28 lines
'This routine is very simple and effective - Jok/NFA
'
Load "Wobbler.abk"
Unpack 6 To 1
'
Screen Open 0,320,50,2,0
'
Set Rainbow 1,1,60,"","","" : Rainbow 1,0,40,60
For A=10 To 30 : Rain(1,A)=$12F : Rain(1,A+20)=$8 : Next A : View
'
C#=3.24 : Rem ****** try changing this!
PIXELS=9 : Rem ****** this is the variable for the amount of wave
' ****** you can put on your logo ... try from 2 to 10
'
Do
For A=0 To 20
Screen Copy 1,0,A,320,A+1 To 0,0+Sin(X/C#)*PIXELS,A
Inc X : Next A
Get Block 1,0,0,320,20 : Vrev Block 1 : Put Block 1,0,20
Wait Vbl
If Mouse Key : C#=C#+0.01 : End If
Loop